﻿namespace MyTRCP.Common.Codecs.Sbc
{
    public class SbcFrame
        {
            public FrequencyEnum Frequency { get; set; }
            public BlocksEnum BlockMode { get; set; }
            public byte Blocks { get; set; }
            public ChannelModeEnum Mode { get; set; }
            public byte Channels { get; set; }
            public AllocationMethodEnum Allocation { get; set; }
            public SubbandsEnum SubbandMode { get; set; }
            public byte Subbands { get; set; }
            public byte Bitpool { get; set; }
            public ushort Codesize { get; set; }
            public ushort Length { get; set; }
            public byte Joint { get; set; }
            public uint[,] ScaleFactor { get; set; } = new uint[2, 8];
            public int[,,] SbSampleF { get; set; } = new int[16, 2, 8];
            public int[,,] SbSample { get; set; } = new int[16, 2, 8];
            public short[,] PcmSample { get; set; } = new short[2, 128];
        }
}
